package kr.hkit.powerjava.algorithm;

public class ListStackTest {
	public static void main(String[] args) {
		
		ListStack ls= new ListStack();
		Item i0 = new Item("A");
		ls.push(i0);
		Item i1 = new Item("B");
		ls.push(i1);
		Item i2 = new Item ("C");
		ls.push(i2);
		
		ls.prnListStack();
		System.out.println(ls.pop());
		ls.prnListStack();
		
	}
	
}
